package com.example.ftp.exception;

public class FTPClientException extends Exception {
	
	private static final long serialVersionUID = -7454759342620462573L;
	public static final String FTP_CLIENT_EXCEPTION = "599";
	
	private String exceptionCode;
	
	public FTPClientException(String aExceptionCode, String aMessage){
		super(aMessage);
		exceptionCode = aExceptionCode;
	}
	
	public FTPClientException(String message, Throwable cause){
		super(message, cause);
	}
	
	public FTPClientException(String aExceptionCode, String message, Throwable cause){
		super(message, cause);
		exceptionCode = aExceptionCode;
	}
	
	public String getExceptionCode() {
		return exceptionCode;
	}

	public void setExceptionCode(String aExceptionCode) {
		exceptionCode = aExceptionCode;
	}
}